LearnPress\Models\Question\QuestionPostModel S

Total Complexity 31
Dependencies 8
Dependents 8
Total lines 244
Lines of code 122
Logical lines of code 71
Comment lines 79
Methods 13
Properties 3

Methods 13

Method Rating Maintainability Complexity Lines of code
get_question_obj_by_type()
A
52 9 23
get_answer_option()
S
54 4 21
find()
S
57 4 17
create_default_answers()
S
58 2 16
get_type()
S
71 2 6
check_type_valid()
S
68 2 7
get_type_label()
S
67 2 8
get_types()
S
64 1 9
get_hint()
S
79 1 3
get_explanation()
S
79 1 3
get_mark()
S
79 1 3
get_default_answers()
S
82 1 3
random_value()
S
77 1 3